<!DOCTYPE html>
<html
  lang="{{ page.lang | default: site.lang }}"
  xmlns="http://www.w3.org/1999/xhtml"
  xmlns:og="http://ogp.me/ns#"
  xmlns:fb="http://www.facebook.com/2008/fbml"
>
  <head>
    <meta charset="utf-8" />
    <title>{{ page.title }} | SpaceVim</title>
    <meta name="baidu-site-verification" content="AN14j6xQVd" />
    <!-- This is for google search console -->
    <meta name="google-site-verification" content="2QrXyd7Wz5_ahXqefiYC_4-HvynQrefWDWORb7EjLCU" />
    <meta name="yandex-verification" content="8de09d07572b8dcc" />
    <meta name="author" content="Shidong Wang" />
    <meta name="description" content="{{ page.description }}" />
    {% if page.type %}
    <meta property="og:type" content="{{ page.type }}"/>
    {% else %}
    <meta property="og:type" content="webpage" />
    {% endif %}
    <meta property="og:title" content="{{ page.title }} | SpaceVim" />
    <meta property="og:description" content="{{ page.description }}" />
    <meta property="og:url" content="{{ site.url }}{{ page.url }}" />
    <meta
      property="og:image"
      content="{{ page.image | default: site.image }}"
    />
    <meta name="twitter:card" content="summary_large_image" />
    <meta name="twitter:site" content="@SpaceVim" />
    <meta name="twitter:creator" content="@wsdtty" />
    <meta
      name="twitter:image:src"
      content="{{ page.image | default: site.image }}"
    />
    <meta name="twitter:title" content="{{ page.title }} | SpaceVim" />
    <meta name="twitter:description" content="{{ page.description }}" />
    <script
      defer
      src="https://use.fontawesome.com/releases/v5.7.2/js/all.js"
    ></script>
    {% if page.lang == "zh" %}
    <script>
      ((window.gitter = {}).chat = {}).options = {
        room: "SpaceVim/cn"
      };
    </script>
    {% else %}
    <script>
      ((window.gitter = {}).chat = {}).options = {
        room: "SpaceVim/SpaceVim"
      };
    </script>
    {% endif %}

    <script
      src="https://sidecar.gitter.im/dist/sidecar.v1.js"
      async
      defer
    ></script>
    <meta http-equiv="X-UA-Compatible" content="chrome=1" />
    <link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}" />
    {% if page.lang == "zh" %}
    <script src="https://cdn.bootcss.com/jquery/1.7.1/jquery.min.js"></script>
    {% else %}
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
    {% endif %}
    <script src="{{ '/assets/js/respond.js' | relative_url }}"></script>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
  </head>

  <body>
    <a
      href="https://github.com/SpaceVim/SpaceVim"
      class="github-corner"
      aria-label="View source on GitHub"
      ><svg
        width="100"
        height="100"
        viewBox="0 0 250 250"
        style="fill:#64CEAA; color:#fff; position: absolute; top: 0; border: 0; right: 0;"
        aria-hidden="true"
      >
        <path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
        <path
          d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
          fill="currentColor"
          style="transform-origin: 130px 106px;"
          class="octo-arm"
        ></path>
        <path
          d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
          fill="currentColor"
          class="octo-body"
        ></path></svg></a
    ><style>
      .github-corner:hover .octo-arm {
        animation: octocat-wave 560ms ease-in-out;
      }
      @keyframes octocat-wave {
        0%,
        100% {
          transform: rotate(0);
        }
        20%,
        60% {
          transform: rotate(-25deg);
        }
        40%,
        80% {
          transform: rotate(10deg);
        }
      }
      @media (max-width: 500px) {
        .github-corner:hover .octo-arm {
          animation: none;
        }
        .github-corner .octo-arm {
          animation: octocat-wave 560ms ease-in-out;
        }
      }
    </style>
    <div class="wrapper">
      <section>
        <div id="titlex">
          <p align="center">
            {{ site.title | default: site.github.repository_name }}
          </p>
        </div>
        {% if page.lang == "zh" %}
        <div id="title">
          <p>{{ site.description | default: site.github.project_tagline }}</p>
          <hr />
          <p align="center">
            <b><a href="{{ site.url }}/cn/">主页</a></b> |
            <b><a href="{{ site.url }}/cn/about/">关于我们</a></b> |
            <b><a href="{{ site.url }}/cn/quick-start-guide/">入门指南</a></b> |
            <b><a href="{{ site.url }}/cn/documentation/">使用文档</a></b> |
            <b><a href="{{ site.url }}/cn/development/">开发指南</a></b> |
            <b><a href="{{ site.url }}/cn/community/">用户社区</a></b> |
            <b><a href="{{ site.url }}/cn/sponsors/">赞助</a></b>
          </p>
          <hr />
        </div>
        {% else %}
        <div id="title">
          <p>{{ site.description | default: site.github.project_tagline }}</p>
          <hr />
          <p align="center">
            <b><a href="{{ site.url }}">Home</a></b> |
            <b><a href="{{ site.url }}/about/">About</a></b> |
            <b
              ><a href="{{ site.url }}/quick-start-guide/"
                >Quick start guide</a
              ></b
            >
            | <b><a href="{{ site.url }}/documentation/">Documentation</a></b> |
            <b><a href="{{ site.url }}/development/">Development</a></b> |
            <b><a href="{{ site.url }}/community/">Community</a></b> |
            <b><a href="{{ site.url }}/sponsors/">Sponsors</a></b>
          </p>
          <hr />
        </div>
        {% endif %} {{ content }} {% if page.comments %}

        <div id="container"></div>
        <script src="https://wsdjeg.github.io/gitment/dist/gitment.browser.js"></script>
        <script>
          var gitment = new Gitment({
            id: "{{ page.commentsID | default: page.title }}", // 可选。默认为 location.href
            owner: "wsdjeg",
            repo: "SpaceVim-comments",
            oauth: {
              client_id: "{{ site.gitment_client_id }}",
              client_secret: "{{ site.gitment_client_secret }}"
            }
          });
          gitment.render("container");
        </script>

        {% endif %}
      </section>
    </div>

    {% if site.google_analytics %}
    <script type="text/javascript">
      var gaJsHost =
        "https:" == document.location.protocol ? "https://ssl." : "http://www.";
      document.write(
        unescape(
          "%3Cscript src='" +
            gaJsHost +
            "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"
        )
      );
    </script>
    <script type="text/javascript">
      try {
        var pageTracker = _gat._getTracker("{{ site.google_analytics }}");
        pageTracker._trackPageview();
      } catch (err) {}
    </script>
    {% endif %}
    <script
      type="text/javascript"
      src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-58a01d3aac22bd89"
    ></script>
  </body>
  <root>
    {% if page.lang == "zh" %}
    <p align="center">
      <span class="credits right"
        >由Jekyll强力驱动,
        <a
          href="https://github.com/SpaceVim/SpaceVim/edit/master/docs/{{ page.path }}"
          >帮助改进本页面</a
        >
      </span>
      <br>
      <input
        id="textbox"
        type="text"
        placeholder="Search on Google..."
        onkeydown="if (event.keyCode == 13 || event.which == 13) { location='https://www.google.com/search?q=' + encodeURIComponent(document.getElementById('textbox').value) + '+site%3Aspacevim.org';}"
      />
    </p>
    {% else %}
    <p align="center">
      <span class="credits right"
        >Powered by Jekyll,
        <a
          href="https://github.com/SpaceVim/SpaceVim/edit/master/docs/{{ page.path }}"
          >Help improve this page</a
        >
      </span>
      <br>
      <input
        id="textbox"
        type="text"
        placeholder="Search on Google..."
        onkeydown="if (event.keyCode == 13 || event.which == 13) { location='https://www.google.com/search?q=' + encodeURIComponent(document.getElementById('textbox').value) + '+site%3Aspacevim.org';}"
      />
    </p>
    {% endif %}
  </root>
</html>

<!-- vim:set nowrap: -->
